package com.sm.sales_management.mapper;

import com.sm.sales_management.domain.Commodity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommodityMapper {

    List<Commodity> selectAllCommodity();

    Integer delete(int id);

    Integer updateCommodity(Commodity commodity);

    Integer insertCommodity(Commodity commodity);
}
